<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>

<div style="float: right;">
		<div class="nav-logout-text" style="margin-right: 30px;width: 560px;">
				<div class="nav-date-text" id="headerDateDisplay" style="margin-top: 0px;float: right;">
					<script type="text/javascript">
						displayMonthDayYear();
					</script>
				</div>
				<div style="float: right;padding-right: 5px;">
					Welcome <span id="userFullName">
					<b><security:authentication property="principal.username"/></b>
					</span> 
					 | 
					<a id="logoutNavLink" 
						href="<c:out value="${baseURL}" /><c:url value='/rest/public/authentication/logout?reason=logout&userName=' />
						<security:authentication property="principal.username"/>">Log Out</a>
					 |
				 </div>
				
				<div id="location-mask-container" style="padding-right: 50px;float: right">
					<tiles:insertAttribute name="location.mask" />
				</div>
		</div>
		<div style="clear: both;padding-bottom: 10px;"></div>	
			
			
</div>